#ifndef MY_TRANSFORMATION
#define MY_TRANSFORMATION

#include "../tinyxml.h"
#include <GL\glui.h>
#include <iostream>
#include <string>

using namespace std;


class Transformation
{
private:
	GLdouble matrix[16];
public:
	Transformation(){for(int i=0;i<16;i++)matrix[i]=0.0;
		matrix[0]=1;
		matrix[5]=1;
		matrix[10]=1;	
		matrix[15]=1;};
	int read(TiXmlElement *material);
	void to_xy(float x,float y);
	void to_size(float size);
	void make(){		
		glMultMatrixd(matrix);};
};

#endif